package com.sharemarking.system.dto.order;

import java.util.Date;

/**
 * @author dxy
 */
public class OrderInfoDto {
    private String code;
    private Date transferStart;
    private Date transferEnd;
    private Integer isUrgent;
    private String notes;
    private Integer distance;
    private Integer payer;
    private Integer transportFees;
    private Date arrivalTime;
    private String carNumber;
    private Date actualTransferTime;
    private Date completeTime;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Date getTransferStart() {
        return transferStart;
    }

    public void setTransferStart(Date transferStart) {
        this.transferStart = transferStart;
    }

    public Date getTransferEnd() {
        return transferEnd;
    }

    public void setTransferEnd(Date transferEnd) {
        this.transferEnd = transferEnd;
    }

    public Integer getIsUrgent() {
        return isUrgent;
    }

    public void setIsUrgent(Integer isUrgent) {
        this.isUrgent = isUrgent;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public Integer getDistance() {
        return distance;
    }

    public void setDistance(Integer distance) {
        this.distance = distance;
    }

    public Integer getPayer() {
        return payer;
    }

    public void setPayer(Integer payer) {
        this.payer = payer;
    }

    public Integer getTransportFees() {
        if (transportFees!=null){
            return transportFees/100;
        }
        return transportFees;
    }

    public void setTransportFees(Integer transportFees) {
        this.transportFees = transportFees;
    }

    public Date getArrivalTime() {
        return arrivalTime;
    }

    public void setArrivalTime(Date arrivalTime) {
        this.arrivalTime = arrivalTime;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public Date getActualTransferTime() {
        return actualTransferTime;
    }

    public void setActualTransferTime(Date actualTransferTime) {
        this.actualTransferTime = actualTransferTime;
    }

    public Date getCompleteTime() {
        return completeTime;
    }

    public void setCompleteTime(Date completeTime) {
        this.completeTime = completeTime;
    }
}
